(something) come about accidentally

Translations
(что-то) произошло случайно
The discovery of penicillin came about accidentally.
Открытие пенициллина произошло случайно.